package com.example.zhuangao6xiangm.mvvmUtil;

import androidx.lifecycle.LiveData;

import com.example.mvvm.viewModel.BaseViewModel;
import com.example.zhuangao6xiangm.entity.JournalismTitle;
import com.fhz.utilsfhz.ApiResponse;

import java.util.List;

public class FragViewModel extends BaseViewModel<MvvmRepostory> {
    public FragViewModel(MvvmRepostory mRepostory) {
        super(mRepostory);
    }
    public LiveData<ApiResponse<List<JournalismTitle.DataBean>>> getShop(){
        return mRepostory.getShop();
    }
}
